﻿using CPPEI.Coolzon.UI.Script;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace CPPEI.Coolzon.UI
{ 
    public partial class PartFrame
    {
        /// <summary>
        /// 当前场景
        /// </summary>
        public UI.ScenePart CurrentScene
        {
            get
            {
                return this._currentPart as UI.ScenePart;
            }
        }

        /// <summary>
        /// 缩放因子,
        /// 通过调用API_Zoom方法来设置缩放因子
        /// </summary>
        public double ZoomFactor
        {
            get;
            private set;
        }

        /// <summary>
        /// 缩放转换
        /// </summary>
        private ScaleTransform _scaleTransform;
    }
}
